package com.woniuxy.happylife.service;

import com.woniuxy.happylife.entity.MallGoods;

import java.util.List;

/**
 * @Author:roger
 * @Date:2022/2/17 15:09:07
 * @Description:
 */
public interface GoodsService {


    List<MallGoods> findAll();

    List<MallGoods> findByCid(int cid);

    List<MallGoods> findNew();

    Integer add(MallGoods goods);

    Integer updateStatusById(int gid);

    MallGoods findById(int gid);

    List<MallGoods> findByName(String name);
}
